package com.bcu.team.comment.service;

import com.bcu.team.comment.entity.Message;
import com.bcu.team.comment.entity.User;

import java.util.List;

public interface UserService {
    Message<User> queryUser(Integer userId);

    Message<List<User>> getAll();

    Message<?> addUser(User user);

    Message<?> delUser(Integer userId);

    Message<?> updateUser(User user);

    Message userLogin(Integer userId, String userPassword);
}
